package my2Cents.tools;

import my2Cents.properties.CheckBox;
import net.phys2d.raw.BasicJoint;
import net.phys2d.raw.Body;
import net.phys2d.raw.Joint;

public class BasicJointTool extends AbstractConstraintMaker {
	
	public BasicJointTool() {
		setName("Hinge");
		ncCheck.setValue(true);
	}
	
	protected Joint createConstraint(Body b1, Body b2) {
		Joint j = new BasicJoint(b2,b1,start);
		return j;
	}
}
